﻿// *************************************************************************************************
// Project: RealSense.Light.Core
// Namespace: RealSense.Light.Core
// File: RealSenseApplication.cs  Author: Peter O'Hanlon
// Copyright © Peter O'Hanlon 2014-2015
// Date: 2015/1/2 13:43
// *************************************************************************************************
using RealSense.Light.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RealSense.Light.Core
{
  public class RealSenseApplication : IApplication
  {
    private ISession session;

    /// <summary>
    /// Instantiates a new instance of RealSenseApplication.
    /// </summary>
    /// <param name="session">The single instance of ISession.</param>
    public RealSenseApplication(ISession session)
    {
      this.session = session;
    }

    public ISession Session { get { return session; } }

    /// <summary>
    /// Start processing.
    /// </summary>
    /// <returns>The current RealSenseApplication instance.</returns>
    public RealSenseApplication Start()
    {
      return this;
    }
  }
}